<?php

namespace Model\LogExamBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * LogExam
 *
 * @ORM\Table(name="logExam")
 * @ORM\Entity(repositoryClass="Model\LogExamBundle\Repository\LogExamRepository")
 */
class LogExam
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="userId", type="integer")
     */
    private $userId;

    /**
     * @var int
     *
     * @ORM\Column(name="examId", type="integer")
     */
    private $examId;

    /**
     * @var float
     *
     * @ORM\Column(name="Score", type="float")
     */
    private $score;

    /**
     * @var int
     *
     * @ORM\Column(name="timeSpend", type="integer")
     */
    private $timeSpend;

    /**
     * @var int
     *
     * @ORM\Column(name="startTime", type="integer")
     */
    private $startTime;

    /**
     * @var int
     *
     * @ORM\Column(name="endTime", type="integer")
     */
    private $endTime;

    /**
     * @var int
     *
     * @ORM\Column(name="userEndTime", type="integer")
     */
    private $userEndTime;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set userId
     *
     * @param integer $userId
     *
     * @return LogExam
     */
    public function setUserId($userId)
    {
        $this->userId = $userId;

        return $this;
    }

    /**
     * Get userId
     *
     * @return int
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * Set examId
     *
     * @param integer $examId
     *
     * @return LogExam
     */
    public function setExamId($examId)
    {
        $this->examId = $examId;

        return $this;
    }

    /**
     * Get examId
     *
     * @return int
     */
    public function getExamId()
    {
        return $this->examId;
    }

    /**
     * Set score
     *
     * @param float $score
     *
     * @return LogExam
     */
    public function setScore($score)
    {
        $this->score = $score;

        return $this;
    }

    /**
     * Get score
     *
     * @return float
     */
    public function getScore()
    {
        return $this->score;
    }

    /**
     * Set timeSpend
     *
     * @param integer $timeSpend
     *
     * @return LogExam
     */
    public function setTimeSpend($timeSpend)
    {
        $this->timeSpend = $timeSpend;

        return $this;
    }

    /**
     * Get timeSpend
     *
     * @return int
     */
    public function getTimeSpend()
    {
        return $this->timeSpend;
    }

    /**
     * Set startTime
     *
     * @param integer $startTime
     *
     * @return LogExam
     */
    public function setStartTime($startTime)
    {
        $this->startTime = $startTime;

        return $this;
    }

    /**
     * Get startTime
     *
     * @return int
     */
    public function getStartTime()
    {
        return $this->startTime;
    }

    /**
     * Set endTime
     *
     * @param integer $endTime
     *
     * @return LogExam
     */
    public function setEndTime($endTime)
    {
        $this->endTime = $endTime;

        return $this;
    }

    /**
     * Get endTime
     *
     * @return int
     */
    public function getEndTime()
    {
        return $this->endTime;
    }

    /**
     * Set userEndTime
     *
     * @param integer $userEndTime
     *
     * @return LogExam
     */
    public function setUserEndTime($userEndTime)
    {
        $this->userEndTime = $userEndTime;

        return $this;
    }

    /**
     * Get userEndTime
     *
     * @return int
     */
    public function getUserEndTime()
    {
        return $this->userEndTime;
    }
}

